package net.unison.thread;

public class CreateThread implements Runnable {

	public void run() {
		int i = 1;
		while (true) {
			Thread thread=new Thread(new PutThread());
			thread.start();
			System.out.print(i+" thread is create, thread name:"+thread.getName());
			i++;
		}
	}

	public static void main(String args[]) {
		Thread getThread = new Thread(new CreateThread());
		getThread.start();
	}
}
